package com.css.zfzx.fxpg.modules.workarea.viewobjects;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author leon
 * @Title:
 * @Description:
 * @date 2020/11/24 19:25
 */
@Data
public class FxWorkareaVO implements Serializable, IExcelDataModel, IExcelModel {
    @NotNull(message = "缺失")
    @Excel(name = "工作区名称", width = 15)
    private String workspace;

    @NotNull(message = "缺失")
    @Excel(name = "覆盖市县", width = 15)
    private String coverArea;

    @NotNull(message = "缺失")
    @Excel(name = "震级", width = 15)
    private Double magnitude;

    @NotNull(message = "缺失")
    @Excel(name = "年份", width = 15)
    private String year;

    @Excel(name = "长轴/km", width = 15)
    private Double longAxis;

    @Excel(name = "短轴/km", width = 15)
    private Double shortAxis;

    @NotNull(message = "缺失")
    @Excel(name = "评估区面积（km2）", width = 15)
    private Double estimateArea;

    @NotNull(message = "缺失")
    @Excel(name = "震级评估区人口（万）", width = 15)
    private Double population;

    @NotNull(message = "缺失")
    @Excel(name = "GDP（亿元）", width = 15)
    private Double gdp;

    @Excel(name = "评估区地形地貌特征", width = 15)
    private String topographicFeatures;

    @Excel(name = "地震构造特征", width = 15)
    private String seismotectonicsFeatures;

    @Excel(name = "气候特征", width = 15)
    private String climateFeatures;

    @Excel(name = "人口民族特征", width = 15)
    private String nationalFeatures;

    @Excel(name = "经济产业特征", width = 15)
    private String economicFeatures;

    @Excel(name = "交通情况", width = 15)
    private String trafficConditions;

    @Excel(name = "地质灾害情况", width = 15)
    private String geologicalHazardSituation;

    @Excel(name = "重大工程设施情况", width = 15)
    private String majorEngineeringFacilities;

    @Excel(name = "历史地震情况", width = 15)
    private String historicalEarthquakes;

    @Excel(name = "其他区域特点", width = 15)
    private String otherRegionalFeatures;

    @Excel(name = "水库数", width = 15)
    private Integer reservoirNum;

    @Excel(name = "学校数", width = 15)
    private Integer schoolNum;

    @Excel(name = "地质灾害隐患点", width = 15)
    private String geologicalHazardHiddenDangerPoint;

    @Excel(name = "崩塌", width = 15)
    private String collapse;

    @Excel(name = "滑坡", width = 15)
    private String landslide;

    @Excel(name = "泥石流", width = 15)
    private String debrisFlow;

    @Excel(name = "次生灾害危险源", width = 15)
    private String secondaryHazard;

    @Excel(name = "设定地震个数", width = 15)
    private Integer earthquakeNum;

    @Excel(name = "调研点数", width = 15)
    private Integer researchPointNum;

    @Excel(name = "应急准备建议", width = 30)
    private String emergencyPrepareAdvice;

    @Excel(name = "应急处置建议", width = 30)
    private String emergencyDisposalAdvice;

    @Excel(name = "地质灾害总数", width = 15)
    private Integer geologicalHazardTotal;

    @Excel(name = "地裂缝", width = 15)
    private String groundFissure;

    @Excel(name = "备注", width = 15)
    private String remark;

    /**
     * 行数和错误信息
     */
    private Integer rowNum;
    private String errorMsg;
}
